import { request } from '@/utils/request'

/**
 * 分页查询单盘数据
 * @param {*} params
 * @returns
 */
export const getStabilityListApi = (params, data) =>
  request({
    url: `/app/mixer/stabilized/data/query/page`,
    method: 'POST',
    params,
    data
  })

/**
 * 根据dataCode查看详情(包含材料规格信息,性能稍差)
 * @param {*} dataCode
 * @returns
 */
export const getStabilityDetailApi = (dataCode) =>
  request({
    url: `/app/mixer/stabilized/data/datacode/${dataCode}`,
    method: 'GET'
  })

/**
 * 查询设备与最新出料信息列表
 * @param {*} dataCode
 * @returns
 */
export const getStabilityEquipmentApi = (params) =>
  request({
    url: `/app/mixer/stabilized/data/equipments`,
    method: 'GET',
    params
  })
